4D Chart v13CT Draw text |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT Draw text
|
CT Draw text ( area ; left ; top ; right ; bottom ; text ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Chart area | |||||
left | Real |
![]() |
Horizontal position of start (in points) | |||||
top | Real |
![]() |
Vertical position of start (in points) | |||||
right | Real |
![]() |
Horizontal position of end (in points) | |||||
bottom | Real |
![]() |
Vertical position of end (in points) | |||||
text | Text |
![]() |
Text of new text object | |||||
Function result | Longint |
![]() |
The new object's Object ID | |||||
CT Draw text creates a new text object in area and returns the new object’s Object ID. The object is positioned according to the left, top, right and bottom coordinates.
The following method draws the text “Hello World” in the top left corner of the chart area.
$Text:=CT Draw text(Area;0;0;300;10;"Hello World")
Product: 4D Chart
Theme: CT Objects
Number:
14557
Created: 4D Chart 1